package com.fand.stater.autoconfigure.properties;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * Author: zhangjiabin
 * Email: javaboyok@163.com
 * CreateDate: 2021/6/26
 * Version: 1.0
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ConfigurationProperties(value = "rocketmq.consumer")
public class ConsumerConfig {

    private String groupName;
    private String namesrvAddr;
    private int    consumeThreadMin;
    private int    consumeThreadMax;
    private int    consumeMessageBatchMaxSize;
}
